package com.qidian.qc.mapper;

import com.qidian.mes.pojo.qc.QcDefect;
import com.qidian.mes.pojo.qc.QcIndex;

import java.util.List;

/**
 * @Author 53邹李萍
 * @Company 起点编程
 * @Time 2023/10/30 16:19
 * @Description
 */
public interface QcIndexMapper {
    //根据编号id查询
    QcIndex getByIndexId(Long indexId);
    //分页查询
    List<QcIndex> list(QcIndex qcIndex);
    //根据检测项编码查询
    QcIndex getAllByIndexCode(String indexCode);
    //根据检测项名称查询
    QcIndex getByIndexName(String indexName);
    //根据项类型查询
    QcIndex getByQcTool(String qcTool);
    //新增
    int save(QcIndex qcIndex);
    //编辑
    int update(QcIndex qcIndex);
    //删除
    int delete(String indexCode);
}
